package com.ims.core.enums;

/**
 * 物料状态
 * A    活动
 * O    失效
 * S    呆滞
 * @author IMS
 */
public enum MaterialStatus {
    ACTIVE('A', "活动"),
    INVALID('O', "失效"),
    SLUGGISH('S', "呆滞");

    private final char code;
    private final String name;

    MaterialStatus(char code, String name) {
        this.code = code;
        this.name = name;
    }

    public char getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}